<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
 
    </script>
   <!-- <script src="1/array/operation.js"></script> -->
   <!-- <script src="1/settimeout.js"></script> -->
   <!-- <script src="algorithm/stack.js"></script> -->
   <!-- <script src="1/object/string.js"></script> -->
   <!-- <script src="similar/substring.js"></script> -->
   <!-- <script src="exam/byte.js"></script> -->
   <!-- <script src="exam/leetcode/00005-listNodeAdd.js"></script> -->
   <script src="new.js"></script>
   <style>
       .box{
           width: 100px;
           height: 100px;
           border: 1px solid green;
           padding: 20px;
           margin: 20px;
       }
       .box1{
           box-sizing: content-box;
       }
       .box2{
           /* 宽度=border+padding+width 到边界为止*/
           box-sizing: border-box;
       }
   </style>
</head>
<body>
    <div class="box box1">contentbox</div>
    <div class="box box2">borderbox</div>
</body>
</html>